-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Garden] Download models in the background #1484
Conversation
Reduces the size of simulationrunner header a bit Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org> Signed-off-by: Michael Carroll <michael@openrobotics.org>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org> Signed-off-by: Michael Carroll <michael@openrobotics.org>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org> Signed-off-by: Michael Carroll <michael@openrobotics.org>
Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org> Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org> Co-authored-by: Addisu Z. Taddese <addisu@openrobotics.org>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
I think that the merge is okay. It may be cleaner to rebase on main at this point, though? |
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
This seems odd, did it come in from the merge from
|
@mjcarroll This is not merged yet gazebosim/sdformat#1027 |
Ah, sorry didn't catch that. Looks like it has an approval, do you want to merge/release or wait for @chapulina ? |
Don't wait for me on the SDF PR 🚢 |
Signed-off-by: ahcorde <ahcorde@gmail.com>
…/ignitionrobotics/ign-gazebo into ahcorde/garden/download_parallel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just an initial pass
errors = root.LoadSdfString( | ||
this->dataPtr->config.SdfString()); | ||
this->dataPtr->sdfRoot = root.Clone(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use this->dataPtr->sdfRoot
directly?
errors = root.LoadSdfString( | |
this->dataPtr->config.SdfString()); | |
this->dataPtr->sdfRoot = root.Clone(); | |
errors = this->dataPtr->sdfRoot.LoadSdfString( | |
this->dataPtr->config.SdfString()); |
Below as well
errors = root.Load(filePath); | ||
this->dataPtr->sdfRoot = root.Clone(); | ||
|
||
if (!this->dataPtr->config.DownloadInParallel()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When does DownloadInParallel
get set to false
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in src/gz.cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see it get set to true
but I never see if it get set to false
Signed-off-by: ahcorde <ahcorde@gmail.com>
…/ignitionrobotics/ign-gazebo into ahcorde/garden/download_parallel
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Closing in favor of #1669 |
🎉 New feature
Summary
it requires gazebosim/sdformat#1027
I was trying to add this functionality to Citadel, but we need to load a simple world when we are downloading the models, this simple world will add a name to the Scene which in most of the cases is not going to match with the desired world name.
This will generate that
SceneBroadcaster
will create some topics with undesired names. Using the reset API I can create the desired topics but, the old topics are still there.Example:
Another issue happens in the Physics thread, sometimes some links are not added. Myabe a race condition ?
It builds on top of #1327
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.